import { useCommon } from "@/stores/Common"
import { reactive, toRefs } from "vue"
const CommonStore = useCommon()

const { FirstData } = toRefs(CommonStore)

export const searchConfig = reactive({
    putInfo: {
        component: 'AInput',
        label: '试管编号',
        attrs: {
            allowClear: true,
            placeholder: '试管编号',
            style: {
                width: '100%'
            }
        },
    },
    department: {
        component: "ASelect",
        label: "科室",
        attrs: {
            allowClear: true,
            placeholder: "科室",
            options: FirstData,
            style: {
                width: '100%'
            }
        },
    },
})

export const searchSelfConfig = {
    putInfo: {
        component: 'AInput',
        label: '试管编号',
        attrs: {
            allowClear: true,
            placeholder: '试管编号',
            style: {
                width: '100%'
            }
        },
    },
}